import { createSlice } from "@reduxjs/toolkit";
let Splice = createSlice({
    name:"splice",
    initialState:{
        splice:[]
    },
    reducers:{
        addsplice:(state,action)=>{
            state.splice = action.payload
        }
    }
})

export default Splice
export let {addsplice} = Splice.actions